package com.movitech.mobile.cz.base.purchase.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 战略采购需求
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("p_strategic_purchase_required")
@ApiModel
public class PStrategicPurchaseRequired extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 年度
     */
    @ApiModelProperty(value = "年度")
    @TableField("purchase_year")
    private Integer purchaseYear;
    /**
     * 地区公司id
     */
    @ApiModelProperty(value = "地区公司id")
    @TableField("regional_company_id")
    private String regionalCompanyId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @TableField("project_id")
    private String projectId;
    /**
     * 品类
     */
    @ApiModelProperty(value = "品类")
    @TableField("category_ids")
    private String categoryIds;
    /**
     * 归属集团需求数量
     */
    @ApiModelProperty(value = "归属集团需求数量")
    @TableField("belong_group_required")
    private Integer belongGroupRequired;
    /**
     * 归属地区公司需求数量
     */
    @ApiModelProperty(value = "归属地区公司需求数量")
    @TableField("belong_regional_cmpy_required")
    private Integer belongRegionalCmpyRequired;


}
